﻿using Senparc.Weixin.MP;

namespace Kugar.Web.WechatMPOAuth
{
    /// <summary>
    /// 微信授权的用户信息
    /// </summary>
    public class WechatUserOAuth
    {
        /// <summary>
        /// 会员OpenID
        /// </summary>
        public string OpenID { set; get; }

        /// <summary>
        /// 会员昵称
        /// </summary>
        public string NickName { set; get; }

        /// <summary>
        /// 会员对应的UnionID
        /// </summary>
        public string UnionID { set; get; }

        /// <summary>
        /// 会员头像地址
        /// </summary>
        public string HeaderPortraitUrl { set; get; }

        /// <summary>
        /// 本次会员授权的范围
        /// </summary>
        public OAuthScope Scope { set; get; }

        public string AccessToken { set; get; }
    }

}
